package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.MessageHistory;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface MessageHistoryMapper {

    int insert(MessageHistory record);

    MessageHistory selectByPrimaryKey(Long id);

    List<MessageHistory> selectAll();


    //查总数
    int  queryForCount(QueryObject qo);

    //查分页数据
    List<MessageHistory> queryForList(QueryObject qo);


}